import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router';
import EmployeeAndDepartmentView from '../views/EmployeeAndDepartmentView.vue';
import AboutView from '../views/AboutView.vue';
import PlanManagerView from '../views/PlanManagerView.vue';
import CommonCollectView from '../views/CommonCollectView.vue';
const routes = [
  {
    path: '/About',
    name: 'About',
    component: AboutView,
  },
  {
    path: '/EmployeeAndDepartment',
    name: 'EmployeeAndDepartmentView',
    component: EmployeeAndDepartmentView
  },
  {
    path: '/PlanManager',
    name: 'PlanManager',
    component: PlanManagerView,
  },
  {
    path: '/CommonCollect',
    name: 'CommonCollectView',
    component: CommonCollectView
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
